package jgl.vajra.operator.part.vehicle.activity;

import jgl.vajra.operator.R;
import jgl.vajra.operator.databinding.ActivityVehicleDetailsBinding;
import jgl.vajra.operator.part.vehicle.viewModel.VehicleDetailsViewModel;
import jgl.vajra.operator.widget.mvvm.factory.CreateViewModel;
import jgl.vajra.operator.widget.mvvm.view.BaseMVVMActivity;

@CreateViewModel(VehicleDetailsViewModel.class)
public class VehicleDetailsActivity extends BaseMVVMActivity<VehicleDetailsViewModel, ActivityVehicleDetailsBinding> {
    @Override
    public int getLayoutId() {
        return R.layout.activity_vehicle_details;
    }

    @Override
    public void initView() {
        super.initView();
        int icon = getIntent().getIntExtra("icon", 0);

        mBinding.setData(icon);
    }
}
